package org.enzy.morphose.mapping.exception;

/**
 * Created by IntelliJ IDEA.
 * User: antonyj
 * Date: 28-May-2009
 * Time: 09:42:16
 * To change this template use File | Settings | File Templates.
 */
public class ConstructorInvocationException extends RuntimeException {
    public ConstructorInvocationException(Class target, Throwable t) {
        super(String.format("Could not instantiate object of type %s. See nested exception for details.", target.getCanonicalName()), t);
    }
}
